package com.qf.feign;


import com.qf.pojo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "qf-order",fallback = OrderServiceFeignFallback.class)
public interface OrderServiceFeign {

    @GetMapping("/order/{id}")
    public R findByUid(@PathVariable("id") Integer id);
}
